package com.connect.report.entity;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="BCONX_KSB")
public class BconTxn implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name="SLOT")
	private String slot;
	@Id
	@Column(name="MSGTYPE",nullable=false,length=4)
	private String type;
	@Column(name="PROCC",nullable=false,length=6)
	private String proc;
	@Id
	@Column(name="CARD",nullable=false)
	private String card;
	@Column(name="TXNDATE")
	private Date date;
	@Column(name="RES",nullable=false,length=2)
	private String res;
	@Column(name="TXNTIME")
	private String time;
	@Id
	@Column(name="STAN",nullable=false,length=6)
	private String stan;
	@Column(name="AMOUNT",nullable=false)
	private double amount;
	@Id
	@Column(name="RRN",nullable=false,length=12)
	private String refer;
	@Column(name="TERMID")
	private String termi;
	@Column(name="ACCID",nullable=false,length=6)
	private String acqId;
	public void setSlot(String slot){
		this.slot = slot;
	}
	public String getSlot(){
		return slot;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getProc() {
		return proc;
	}
	public void setProc(String proc) {
		this.proc = proc;
	}
	public String getCard() {
		return card;
	}
	public void setCard(String card) {
		this.card = card;
	}
	public String getRes() {
		return res;
	}
	public void setRes(String res) {
		this.res = res;
	}
	public Date getDate(){
		return date;
	}
	public void setDate(Date date){
		this.date=date;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getStan() {
		return stan;
	}
	public void setStan(String stan) {
		this.stan = stan;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	public String getRefer() {
		return refer;
	}
	public void setRefer(String refer) {
		this.refer = refer;
	}
	public String getTermi() {
		return termi;
	}
	public void setTermi(String termi) {
		this.termi = termi;
	}
	public String getAcqId() {
		return acqId;
	}
	public void setAcqId(String acqId) {
		this.acqId = acqId;
	}
	@Override
	public String toString() {
		return "BconTxn [type=" + type + ", proc=" + proc + ", card=" + card
				+ ", date=" + date + ", res=" + res + ", time=" + time
				+ ", stan=" + stan + ", amount=" + amount + ", refer=" + refer
				+ ", termi=" + termi + ", acqId=" + acqId + "]";
	}
	
}
